<%= f.label :section_id, t("#{@document.class.name.downcase}.section") %>
<%= f.select :section_id, @document.collection.sections.map {|s| [s.title, s.id]} %><br/>
<%= f.label :document_no, t("#{@document.class.name.downcase}.document_no") %>
<%= f.text_field :document_no %><br/>
<% if @document.hadith? -%>
  <%= f.label :rewaya, t("hadith.rewaya") %>
  <%= f.text_area :rewaya, :rows=>5 %><br/>
  <%= f.label :sanad, t("hadith.sanad") %>
  <%= f.text_field :sanad %><br/>
<% end -%>
<%= f.label :body, t("#{@document.class.name.downcase}.body") %>
<%= f.text_area :body, :rows=>5 %><br/>
<%= f.label :description, t("#{@document.class.name.downcase}.description") %>
<%= f.text_area :description, :rows=>5 %><br/>

